load("//kotlin:jvm.bzl", "kt_jvm_binary")

kt_jvm_binary(
    name = "BazelIntegrationTestRunner",
    srcs = [
        "BazelIntegrationTestRunner.kt",
    ],
    data = [
        "//:rules_kotlin_release",
    ],
    jvm_flags = [
        "-D@rules_kotlin...rules_kotlin_release=$(rlocationpath //:rules_kotlin_release)",
    ],
    main_class = "io.bazel.kotlin.test.BazelIntegrationTestRunner",
    visibility = [
        "//visibility:public",
    ],
    deps = [
        "//src/main/kotlin/io/bazel/kotlin/builder/utils",
        "@kotlin_rules_maven//:org_apache_commons_commons_compress",
    ],
)
